package com.example.jococojenkins.service.impl;

import com.example.jococojenkins.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @author 侯存路
 * @date 2019/8/30
 * @company codingApi
 * @description
 */
@Service
public class TestServiceImpl implements TestService {


    @Override
    public String test(int i) {
        if (i <= 0) {
            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            return "大于0";

        } else {

            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");

            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            System.out.println("");
            return "小于0";
        }
    }

    @Override
    public void print() {
        System.out.println("Hello World");
    }


}
